﻿using System;
using System.Collections.Generic;
using System.Text;
using AutoMapper;
using yoyosoft.BookList.BookListManagement.Book;
using yoyosoft.BookList.BookManagement.Books.Dto;

namespace yoyosoft.BookList.BookManagement.Books.Mapper
{
   internal class BookMapper
    {
        public static void CreateMapping(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap<Book, BookListDto>();
            configuration.CreateMap<Book, BookEditDto>();
            configuration.CreateMap<BookEditDto, Book>();
        }
    }
} 
